<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- web-content.qdoc -->
  <title>Integrating Web Content | Qt 5.14</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.14</a></td><td >Integrating Web Content</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.14.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#webengine-in-qt">WebEngine in Qt</a></li>
<li class="level1"><a href="#qt-and-html-javascript-hybrid-applications">Qt and HTML-JavaScript Hybrid Applications</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Integrating Web Content</h1>
<span class="subtitle"></span>
<!-- $$$topics-web-content.html-description -->
<div class="descr"> <a name="details"></a>
<p>To create Qt-based web applications, Qt provides interfaces that support a wide range of standard web techologies such as HTML, CSS, and JavaScript. These interfaces enable applications to embed content from the World Wide Web.</p>
<p>It is also possible to combine Qt C++ and QML code with HTML and JavaScript to create web applications. Through <a href="../qtwebchannel/qtwebchannel-index.html">Qt WebChannel</a>, several of Qt's APIs are accessible to remote clients.</p>
<a name="webengine-in-qt"></a>
<h2 id="webengine-in-qt">WebEngine in Qt</h2>
<p>Qt provides the Chromium-based <a href="../qtwebengine/qtwebengine-index.html">Qt WebEngine</a> module for applications targeting desktop and embedded platforms. For example, a web browser application for Linux platform.</p>
<p>It also provides the <a href="../qtwebview/qtwebview-index.html">Qt WebView</a> module, which uses the native web engine of the platform. For example, a RSS feed reader Qt Quick application for Android and iOS.</p>
<p>These pages contain information about porting applications to use <a href="../qtwebengine/qtwebengine-index.html">Qt WebEngine</a> and the various APIs:</p>
<ul>
<li><a href="../qtwebengine/qtwebengine-overview.html">Qt WebEngine Overview</a></li>
<li><a href="../qtwebview/qtwebview-index.html">Qt WebView</a></li>
<li><a href="../qtwebengine/qtwebenginewidgets-qtwebkitportingguide.html">Porting from Qt WebKit to Qt WebEngine</a></li>
</ul>
<a name="qt-and-html-javascript-hybrid-applications"></a>
<h2 id="qt-and-html-javascript-hybrid-applications">Qt and HTML-JavaScript Hybrid Applications</h2>
<p>The <a href="../qtwebchannel/qtwebchannel-index.html">Qt WebChannel</a> module enables HTML or JavaScript clients to access Qt APIs such as <a href="../qtcore/qobject.html">QObject</a>. It provides both C++ or QML API, allowing Qt apps to communicate with JavaScript and HTML frontends.</p>
<p>These pages contain more information about the various APIs:</p>
<ul>
<li><a href="../qtwebchannel/qtwebchannel-javascript.html">JavaScript API</a></li>
<li><a href="../qtwebchannel/qtwebchannel-module.html">C++ API</a></li>
<li><a href="../qtwebchannel/qtwebchannel-qmlmodule.html">QML API</a></li>
<li><a href="../qtwebchannel/qtwebchannel-standalone-example.html">Standalone Example</a></li>
</ul>
</div>
<!-- @@@topics-web-content.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
